<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>约战</title>
<link rel="stylesheet" type="text/css"
	href="../static/js/themes/defalut.css">
<link rel="stylesheet" type="text/css"
	href="../static/js/themes/public.css">
<link rel="stylesheet" type="text/css"
	href="../static/js/themes/ddspstyle.css">
<link rel="stylesheet" type="text/css"
	href="../static/js/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="../static/js/themes/icon.css">
<script type="text/javascript" src="../static/js/jquery.min.js"></script>
<script type="text/javascript" src="../static/js/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="../static/js/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="../static/js/index.js"></script>
<%
		String para = request.getParameter("f_pa_id");
		int f_pa_resourceId = 0;
		if(para != null)
			f_pa_resourceId = Integer.valueOf(para);
	%>
<script type="text/javascript">
	$(function(){
		var f_pa_id = <%=f_pa_resourceId%>;
		$.ajax({
			url:"attribute_show.do?f_pa_id="+f_pa_id,
			success:function(data){
				var user = JSON.parse(data);
				$("#f_pa_name").html(user.f_pa_name);
				$("#f_pa_url").html(user.f_pa_url);
				$("#f_pa_desc").html(user.f_pa_desc);
				$("#f_pa_status").html(user.f_pa_status==1?"有效":user.f_pa_status==2?"无效":"未知");
				$("#f_pa_createAt").html(user.f_pa_createAt);
				$("#f_pa_updateAt").html(user.f_pa_updateAt);
			}
		});
	});
	</script>
<title>后台 - 属性详情</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
</head>

<body class="overfwidth">
	<div class="barnavtop">您所在的位置：属性管理 &gt; 属性详情查看</div>
	<div id="workspace">
		<!--主体 开始-->
		<div id="container">
			<div class="editspace">
				<form id="contentForm" action="#" class="cmxform" method="post"
					enctype="multipart/form-data" name="formName">
					<input id="id" name="id" value="7945" class="yl_inp yw_name"
						type="hidden" />
					<legend>属性详情查看</legend>
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="30%" align="right">属性名称：</td>
									<td width="70%" id="f_pa_name"></td>
								</tr>
							</table>
						</div>
					</fieldset>

					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="30%" align="right">属性路径：</td>
									<td width="70%" id="f_pa_url"></td>
								</tr>
							</table>
						</div>
					</fieldset>

					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="30%" align="right">属性简介：</td>
									<td width="70%" id="f_pa_desc"></td>
								</tr>
							</table>
						</div>
					</fieldset>

					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="30%" align="right">属性状态：</td>
									<td width="70%" id="f_pa_status"></td>
								</tr>
							</table>
						</div>
					</fieldset>

					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="30%" align="right">添加时间：</td>
									<td width="70%" id="f_pa_createAt"></td>
								</tr>
							</table>
						</div>
					</fieldset>

					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="30%" align="right">修改时间：</td>
									<td width="70%" id="f_pa_updateAt"></td>
								</tr>
							</table>
						</div>
					</fieldset>
				</form>
			</div>
		</div>
		<!--主体 结束-->
	</div>



	<div id="openselect" class="easyui-dialog"
		style="width: 550px; height: 430px; padding-top: 0px;"
		data-options="title: 'EPG', iconCls:'icon-save',modal:true,closed:true,buttons:'#openselect_buttons'">
		<iframe scrolling="auto" frameborder="0"
			style="width: 100%; height: 99%;"></iframe>
	</div>
	<div id="openselect_buttons" style="display: none; text-align: center;">
		<a href="javascript:void(0)" class="easyui-linkbutton"
			iconCls="icon-cancel"
			onclick="javascript:$('#openselect').dialog('close')">关闭</a>
	</div>
</body>
</html>